<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>

</body>
</html>
<script>
  const obj1 = {
    name:"Jack",
    age:19
  }
  const obj2 = {
    name:"Rose",
    age:18
  }



  const p2 = new Promise((resolve,reject)=>{
    setTimeout(()=>{
      resolve("123456");
    },2000)
  })

  p2.then(res=>{
    console.log(obj1);
  })





 
  



  // ajax({
  //   url:'http://localhost:8888/test/fourth',

  // }
  // )
  
</script>